/**
 * 
 */
package com.enjoyor.soa.traffic.api.service.dubbo.ovms;

import java.util.Map;

import com.enjoyor.soa.traffic.api.dto.ovms.LogUserDto;
import com.enjoyor.soa.traffic.api.dto.ovms.MessageBoardDto;
import com.enjoyor.soa.traffic.api.dto.ovms.MessageBoardReplayDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

/**
 * @author ly 留言板
 */
public interface DubboMessageBoardService {

	/**
	 * 获取留言板列表
	 * 
	 * @param token
	 * @param systemkey
	 * @param map
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public ResultPojo getMessageBoardList(String token, String systemkey, LogUserDto logUser, Map map);

	/**
	 * 获取留言板分页
	 * 
	 * @param token
	 * @param systemkey
	 * @param map
	 * @param page
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public ResultPojo getMessageBoardPage(String token, String systemkey, LogUserDto logUser, Map map, Page page);

	/**
	 * 删除留言板
	 * 
	 * @param token
	 * @param systemkey
	 * @param board_id
	 * @return
	 */
	public ResultPojo deleteMessageBoard(String token, String systemkey, LogUserDto logUser, String board_id);

	/**
	 * 新增留言板
	 * 
	 * @param token
	 * @param systemkey
	 * @param board
	 * @return
	 */
	public ResultPojo insertMessageBoard(String token, String systemkey, LogUserDto logUser, MessageBoardDto board);

	/**
	 * 更新留言板
	 * 
	 * @param token
	 * @param systemkey
	 * @param board
	 * @return
	 */
	public ResultPojo updateMessageBoard(String token, String systemkey, LogUserDto logUser, MessageBoardDto board);

	/**
	 * 获取用户留言板观看记录列表
	 * 
	 * @param token
	 * @param systemkey
	 * @param person_id
	 * @return
	 */
	public ResultPojo getRltMessageBoardPersonList(String token, String systemkey, LogUserDto logUser,
			String person_id);

	/**
	 * 获得留言板回复列表
	 * 
	 * @param token
	 * @param systemkey
	 * @param board_id
	 * @return
	 */
	public ResultPojo getBoardReplayList(String token, String systemkey, LogUserDto logUser, String message_id);

	/**
	 * 删除留言回复
	 * 
	 * @param token
	 * @param systemkey
	 * @param board_id
	 * @return
	 */
	public ResultPojo deleteBoardreplay(String token, String systemkey, LogUserDto logUser, String board_id);

	/**
	 * 新增留言回复
	 * 
	 * @param token
	 * @param systemkey
	 * @param replay
	 * @return
	 */
	public ResultPojo insertBoardReplay(String token, String systemkey, LogUserDto logUser,
			MessageBoardReplayDto replay);
}
